import copy from './common/copy';
import longpress from './common/longpress';
import debounce from './common/debounce';
import waterMarker from './common/waterMarker';
// 自定义指令
const directives = {
  copy,
  longpress,
  debounce,
  waterMarker
};

export default {
  install(Vue) {
    Object.keys(directives).forEach((key) => {
      Vue.directive(key, directives[key]);
    });
  }
};
